﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AWP_Vl_2_Operatoren_ueberladen
{
    class MyClass
    {

        public int value { get; set; }

        public MyClass(int x)
        {
            value = x;
        }

        public static MyClass operator +(MyClass c1, MyClass c2) {
            return new MyClass(c1.value + c2.value);
        }
    }
}
